package com.thomsonreuters.ce.edps.model.impl;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.thomsonreuters.ce.edps.model.IPasUprRship;
import com.thomsonreuters.ce.edps.model.IPhysicalAsset;
import com.thomsonreuters.ce.edps.model.IPhysicalAssetDataField;


/** @author Hibernate CodeGenerator */
public class PhysicalAssetDataField implements Serializable, IPhysicalAssetDataField {

    /** identifier field */
    private BigDecimal id;

    /** persistent field */
    private String createBy;

    /** persistent field */
    private Date createDate;

    /** persistent field */
    private String modifyBy;

    /** persistent field */
    private Date modifyDate;

    /** persistent field */
    private IPhysicalAsset physicalAsset;

    /** persistent field */
    private IPasUprRship pasUprRship;

    /** persistent field */
    private Set physicalAssetDatas;

    /** full constructor */
    public PhysicalAssetDataField(BigDecimal id, String createBy, Date createDate, String modifyBy, Date modifyDate, IPhysicalAsset physicalAsset, IPasUprRship pasUprRship, Set physicalAssetDatas) {
        this.id = id;
        this.createBy = createBy;
        this.createDate = createDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
        this.physicalAsset = physicalAsset;
        this.pasUprRship = pasUprRship;
        this.physicalAssetDatas = physicalAssetDatas;
    }

    /** default constructor */
    public PhysicalAssetDataField() {
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getId()
	 */
    @Override
	public BigDecimal getId() {
        return this.id;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setId(java.math.BigDecimal)
	 */
    @Override
	public void setId(BigDecimal id) {
        this.id = id;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getCreateBy()
	 */
    @Override
	public String getCreateBy() {
        return this.createBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setCreateBy(java.lang.String)
	 */
    @Override
	public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getCreateDate()
	 */
    @Override
	public Date getCreateDate() {
        return this.createDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setCreateDate(java.util.Date)
	 */
    @Override
	public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getModifyBy()
	 */
    @Override
	public String getModifyBy() {
        return this.modifyBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setModifyBy(java.lang.String)
	 */
    @Override
	public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getModifyDate()
	 */
    @Override
	public Date getModifyDate() {
        return this.modifyDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setModifyDate(java.util.Date)
	 */
    @Override
	public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getPhysicalAsset()
	 */
    @Override
	public IPhysicalAsset getPhysicalAsset() {
        return this.physicalAsset;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setPhysicalAsset(com.thomsonreuters.ce.edps.model.impl.IPhysicalAsset)
	 */
    @Override
	public void setPhysicalAsset(IPhysicalAsset physicalAsset) {
        this.physicalAsset = physicalAsset;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getPasUprRship()
	 */
    @Override
	public IPasUprRship getPasUprRship() {
        return this.pasUprRship;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setPasUprRship(com.thomsonreuters.ce.edps.model.impl.IPasUprRship)
	 */
    @Override
	public void setPasUprRship(IPasUprRship pasUprRship) {
        this.pasUprRship = pasUprRship;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#getPhysicalAssetDatas()
	 */
    @Override
	public Set getPhysicalAssetDatas() {
        return this.physicalAssetDatas;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#setPhysicalAssetDatas(java.util.Set)
	 */
    @Override
	public void setPhysicalAssetDatas(Set physicalAssetDatas) {
        this.physicalAssetDatas = physicalAssetDatas;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IPhysicalAssetDataField#toString()
	 */
    @Override
	public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
